<Ui xmlns="http://www.blizzard.com/wow/ui/">

	<CheckButton name="CLCK_CheckButtonTemplate" virtual="true" inherits="InterfaceOptionsBaseCheckButtonTemplate">
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$Parent_Text" inherits="GameFontHighlight">
					<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset><AbsDimension x="0" y="1"/></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>		
		<Scripts>
			<OnClick>CLCDK:OptionsOkay();</OnClick>
		</Scripts>
	</CheckButton>
	
	<Button name="CLCK_DropDownTemplate" virtual="true" inherits="UIDropDownMenuTemplate">
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$Parent_Text" inherits="GameFontHighlight">
					<Anchors><Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"><Offset><AbsDimension x="20" y="2"/></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>	
	</Button>
	
	<EditBox name="CLCK_EditBoxTemplate" virtual="true" autoFocus="false" inherits="InputBoxTemplate">
			<Size><AbsDimension x="25" y="28"/></Size>
			<Layers>
				<Layer level="ARTWORK">
					<FontString name="$Parent_Text" inherits="GameFontHighlight">
					  <Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset><AbsDimension x="5" y="1"/></Offset></Anchor></Anchors>
					</FontString>
				</Layer>
			</Layers>					
			<Scripts>
				<OnEnterPressed>
					CLCDK:OptionsOkay()
					self:ClearFocus()
				</OnEnterPressed>
				<OnEscapePressed>
					CLCDK:OptionsOkay()
					self:ClearFocus()
				</OnEscapePressed>
			</Scripts>				
		</EditBox>
	
	<Frame name="CLCDK_Options">
		<Scripts>
			<OnLoad>
				self.name = "CLC DK"
				self.okay = function() CLCDK:OptionsOkay(); end
				self.default = function() CLCDK:SetDefaults(); end	
			</OnLoad>
			<OnShow>
				local f = _G["CLCDK_FramePanel"];
				if (f) then
					InterfaceOptionsFrame_OpenToCategory (f)
					self:Hide();
				end
			</OnShow>
		</Scripts>
	</Frame>
	
	<Frame name="CLCDK_FramePanel">
		<Scripts>
			<OnLoad>
				self.name = CLCDK_OPTIONS_FRAME	
				self.parent = "CLC DK"
			</OnLoad>
			<OnShow>
				local f = _G["CLCDK_CDRPanel"];
				if (f) then	f:Hide();end
				local f = _G["CLCDK_CDPanel"];
				if (f) then	f:Hide();end
				local f = _G["CLCDK_DTPanel"];
				if (f) then	f:Hide();end
			</OnShow>
		</Scripts>
	
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDRPanel_DD_Title" inherits="GameFontNormalLarge" text="CLCDK_ADDONNAME">
					<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-15" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>		

		<Frames>	
			<!--GCD -->	
			<CheckButton name="CLCDK_FramePanel_GCD" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_Title"><Offset><AbsDimension x="0" y="-30"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_GCD_Text:SetText(CLCDK_OPTIONS_FRAME_GCD)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--CD Spiral -->	
			<CheckButton name="CLCDK_FramePanel_CDS" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_GCD"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_CDS_Text:SetText(CLCDK_OPTIONS_FRAME_CDS)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Range -->	
			<CheckButton name="CLCDK_FramePanel_Range" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_CDS"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_Range_Text:SetText(CLCDK_OPTIONS_FRAME_RANGE)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Rune -->	
			<CheckButton name="CLCDK_FramePanel_Rune" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_Range"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_Rune_Text:SetText(CLCDK_OPTIONS_FRAME_RUNE)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--RuneBars -->	
			<CheckButton name="CLCDK_FramePanel_RuneBars" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_Rune"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_RuneBars_Text:SetText(CLCDK_OPTIONS_FRAME_RUNEBARS)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Rune DD-->	
			<Button name="CLCDK_FramePanel_Rune_DD" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_RuneBars" ><Offset><AbsDimension x="-16" y="-45"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_FramePanel_Rune_DD_Text:SetText(CLCDK_OPTIONS_FRAME_RUNE_O)
						UIDropDownMenu_SetWidth(self, 140, 5)
					</OnLoad>
                </Scripts>
            </Button>			
			
			<!--RP -->	
			<CheckButton name="CLCDK_FramePanel_RP" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_Rune_DD"><Offset><AbsDimension x="15" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_RP_Text:SetText(CLCDK_OPTIONS_FRAME_RP)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Disease -->	
			<CheckButton name="CLCDK_FramePanel_Disease" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_RP"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_Disease_Text:SetText(CLCDK_OPTIONS_FRAME_DISEASE)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			
		
			<!-- Lock -->
			<CheckButton name="CLCDK_FramePanel_Locked" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPRIGHT" ><Offset><AbsDimension x="-170" y="-45"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_Locked_Text:SetText(CLCDK_OPTIONS_FRAME_LOCKED)
					</OnLoad>
				</Scripts>
			</CheckButton>	

			<!-- Lock Pieces Together -->
			<CheckButton name="CLCDK_FramePanel_LockedPieces" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_Locked" ><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_LockedPieces_Text:SetText(CLCDK_OPTIONS_FRAME_LOCKEDPIECES)
					</OnLoad>
				</Scripts>
			</CheckButton>

			<!--View Dropdown -->			
			<Button name="CLCDK_FramePanel_ViewDD" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_LockedPieces" ><Offset><AbsDimension x="-15" y="-50"/></Offset></Anchor></Anchors>								
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_ViewDD_Text:SetText(CLCDK_OPTIONS_FRAME_VIEW)
						UIDropDownMenu_SetWidth(self, 125, 5)
					</OnLoad>
				</Scripts>
            </Button>

			<!--Scale -->		
			<EditBox name="CLCDK_FramePanel_Scale" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_ViewDD" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="25" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_Scale_Text:SetText(CLCDK_OPTIONS_FRAME_SCALE)
					</OnLoad>
				</Scripts>			
			</EditBox>

			<!--Trans -->					
			<EditBox name="CLCDK_FramePanel_NormalTrans" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_Scale" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_NormalTrans_Text:SetText(CLCDK_OPTIONS_FRAME_NORMALTRANS)
					</OnLoad>
				</Scripts>		
			</EditBox>
			
			<EditBox name="CLCDK_FramePanel_Trans" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_NormalTrans" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_Trans_Text:SetText(CLCDK_OPTIONS_FRAME_TRANS)
					</OnLoad>
				</Scripts>	
			</EditBox>
			
			<!--Trans Combat -->		
			<EditBox name="CLCDK_FramePanel_CombatTrans" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_FramePanel_Trans" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_FramePanel_CombatTrans_Text:SetText(CLCDK_OPTIONS_FRAME_COMBATTRANS)
					</OnLoad>
				</Scripts>		
			</EditBox>

			<!--Reset -->	
			<Button name="CLCDK_FramePanel_Reset" inherits="UIPanelButtonTemplate"  Text="CLCDK_OPTIONS_RESET">
				<Size><AbsDimension x="120" y="22"/></Size>
				<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="15" y="15" /></Offset></Anchor></Anchors>
				<Scripts>
					<OnClick>CLCDK:SetDefaults()</OnClick>
				</Scripts>
			</Button>   

			<!--Location Reset -->	
			<Button name="CLCDK_FramePanel_LocationReset" inherits="UIPanelButtonTemplate"  Text="CLCDK_OPTIONS_RESETLOCATION">
				<Size><AbsDimension x="120" y="22"/></Size>
				<Anchors><Anchor point="LEFT" relativeTo="CLCDK_FramePanel_Reset" relativePoint="RIGHT"><Offset><AbsDimension x="5" y="0" /></Offset></Anchor></Anchors>
				<Scripts>
					<OnClick>CLCDK:SetLocationDefault()</OnClick>
				</Scripts>
			</Button> 
		</Frames>		
	</Frame>
	
	<Frame name="CLCDK_CDRPanel">
		<Scripts>
			<OnLoad>
				self.name = CLCDK_OPTIONS_CDR
				self.parent = "CLC DK"		
			</OnLoad>
		</Scripts>
	
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDRPanel_DD_Title" inherits="GameFontNormalLarge" text="CLCDK_ADDONNAME">
					<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-15" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
			
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDRPanel_Title_Spec" inherits="GameFontDisableSmall">
					<Anchors><Anchor point="LEFT" relativeTo="CLCDK_CDRPanel_DD_Title" relativePoint="RIGHT"><Offset><AbsDimension x="5" y="0" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
			
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDRPanel_Rotation_Title" inherits="GameFontHighlight" text="CLCDK_OPTIONS_CDR_ROTATION">
					<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel" relativePoint="TOPRIGHT"><Offset><AbsDimension x="-200" y="-40" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>		

		<Frames>	
			<!--Diseases DD-->			
			<Button name="CLCDK_CDRPanel_Diseases_DD" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_Title" ><Offset><AbsDimension x="-16" y="-40"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_Diseases_DD_Text:SetText(CLCDK_OPTIONS_CDR_DISEASES_DD)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
				</Scripts>
            </Button>			
			
			<!--Pool For Interrupt -->
			<CheckButton name="CLCDK_CDRPanel_PoolInterrupt" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_Diseases_DD"><Offset><AbsDimension x="15" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_PoolInterrupt_Text:SetText(CLCDK_OPTIONS_CDR_POOLINTERRUPT)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!-- Interrupt  Icon-->
			<CheckButton name="CLCDK_CDRPanel_MoveAltInterrupt" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_PoolInterrupt"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_MoveAltInterrupt_Text:SetText(CLCDK_OPTIONS_CDR_MOVEALT_INTERRUPT)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!-- AOE  Icon-->
			<CheckButton name="CLCDK_CDRPanel_MoveAltAOE" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_MoveAltInterrupt"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_MoveAltAOE_Text:SetText(CLCDK_OPTIONS_CDR_MOVEALT_AOE)
					</OnLoad>
				</Scripts>
			</CheckButton>

			<!-- AOE  Icon-->
			<CheckButton name="CLCDK_CDRPanel_MoveAltDND" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_MoveAltAOE"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_MoveAltDND_Text:SetText(CLCDK_OPTIONS_CDR_MOVEALT_DND)
					</OnLoad>
				</Scripts>
			</CheckButton>	

			<!-- Alternative Rotation-->
			<CheckButton name="CLCDK_CDRPanel_AltRot" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_MoveAltDND"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
			</CheckButton>				
			
			<!-- Rotation Option-->
			<Frame name="CLCDK_CDRPanel_Rotation" toplevel="true" parent="CLCDK_CDRPanel" frameStrata="DIALOG">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_Rotation_Title" ><Offset><AbsDimension x="-5" y="-12"/></Offset></Anchor></Anchors>
				
				<Size><AbsDimension x="190" y="175"/></Size>				
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">					
					<TileSize><AbsValue val="32"/></TileSize><EdgeSize><AbsValue val="16"/></EdgeSize>
				</Backdrop>
				
				<Frames>
					<!--Outbreak -->	
					<CheckButton name="CLCDK_CDRPanel_Outbreak" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-5"/></Offset></Anchor></Anchors>
					</CheckButton>						
					
					<!--Ignore Runic Power -->	
					<CheckButton name="CLCDK_CDRPanel_IRP" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_Outbreak"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
						<Scripts>
							<OnLoad>
								CLCDK_CDRPanel_IRP_Text:SetText(CLCDK_OPTIONS_CDR_RP)
							</OnLoad>
						</Scripts>
					</CheckButton>
					
					<!-- DG  Icon-->
					<CheckButton name="CLCDK_CDRPanel_DG" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_IRP"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>	
					
					<!--Horn -->	
					<CheckButton name="CLCDK_CDRPanel_Horn" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DG"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>					
					
					<!-- Spec Option-->
					<CheckButton name="CLCDK_CDRPanel_SpecOption" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_Horn"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>	
				</Frames>
			</Frame>
			
			<!--Reset -->	
			<Button name="CLCDK_CDRPanel_Reset" inherits="UIPanelButtonTemplate"  Text="CLCDK_OPTIONS_RESET">
				<Size><AbsDimension x="120" y="22"/></Size>
				<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="15" y="15" /></Offset></Anchor></Anchors>
				<Scripts>
					<OnClick>CLCDK:SetDefaults()</OnClick>
				</Scripts>
			</Button>  
		</Frames>		
	</Frame>
	
	<Frame name="CLCDK_CDPanel">
		<Scripts>
			<OnLoad>
				self.name = CLCDK_OPTIONS_CD
				self.parent = "CLC DK"		
			</OnLoad>
		</Scripts>
	
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDPanel_DD_Title" inherits="GameFontNormalLarge" text="CLCDK_ADDONNAME">
					<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-15" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
			
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDPanel_Title_Spec" inherits="GameFontDisableSmall">
					<Anchors><Anchor point="LEFT" relativeTo="CLCDK_CDPanel_DD_Title" relativePoint="RIGHT"><Offset><AbsDimension x="5" y="0" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>		

		<Frames>				
			<!--Priority DD-->	
			<Button name="CLCDK_CDRPanel_DD_Priority" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDPanel_DD_Title" ><Offset><AbsDimension x="-16" y="-40"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_Priority_Text:SetText(CLCDK_OPTIONS_CDR_PRIORITY)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>	
			
			<!--CD -->	
			<CheckButton name="CLCDK_CDRPanel_DD_CD1" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_Priority"><Offset><AbsDimension x="15" y="-50"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_DD_CD1_Text:SetText(CLCDK_OPTIONS_CDR_CD1)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--CD1_One DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD1_One" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD1"><Offset><AbsDimension x="-15" y="-42"/></Offset></Anchor></Anchors>						
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD1_One_Text:SetText(CLCDK_OPTIONS_CDR_CD_ONE)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>
			
			<!-- CD1_Two DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD1_Two" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD1_One"><Offset><AbsDimension x="0" y="-45"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD1_Two_Text:SetText(CLCDK_OPTIONS_CDR_CD_TWO)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>	

			<!--CD2-->	
			<CheckButton name="CLCDK_CDRPanel_DD_CD2" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD1"><Offset><AbsDimension x="200" y="0"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_DD_CD2_Text:SetText(CLCDK_OPTIONS_CDR_CD2)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--CD2_One DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD2_One" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD2"><Offset><AbsDimension x="-15" y="-42"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD2_One_Text:SetText(CLCDK_OPTIONS_CDR_CD_ONE)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>
			
			<!-- CD2_Two DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD2_Two" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD2_One" ><Offset><AbsDimension x="0" y="-45"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD2_Two_Text:SetText(CLCDK_OPTIONS_CDR_CD_TWO)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>		
			
			<!--CD3 -->	
			<CheckButton name="CLCDK_CDRPanel_DD_CD3" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD1_Two"><Offset><AbsDimension x="15" y="-50"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_DD_CD3_Text:SetText(CLCDK_OPTIONS_CDR_CD3)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--CD3_One DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD3_One" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD3"><Offset><AbsDimension x="-15" y="-42"/></Offset></Anchor></Anchors>						
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD3_One_Text:SetText(CLCDK_OPTIONS_CDR_CD_ONE)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>
			
			<!-- CD3_Two DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD3_Two" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD3_One"><Offset><AbsDimension x="0" y="-45"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD3_Two_Text:SetText(CLCDK_OPTIONS_CDR_CD_TWO)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>	

			<!--CD4-->	
			<CheckButton name="CLCDK_CDRPanel_DD_CD4" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD3"><Offset><AbsDimension x="200" y="0"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_CDRPanel_DD_CD4_Text:SetText(CLCDK_OPTIONS_CDR_CD4)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--CD4_One DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD4_One" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD4"><Offset><AbsDimension x="-15" y="-42"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD4_One_Text:SetText(CLCDK_OPTIONS_CDR_CD_ONE)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>
			
			<!-- CD4_Two DD -->			
			<Button name="CLCDK_CDRPanel_DD_CD4_Two" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_CDRPanel_DD_CD4_One" ><Offset><AbsDimension x="0" y="-45"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_CDRPanel_DD_CD4_Two_Text:SetText(CLCDK_OPTIONS_CDR_CD_TWO)
						UIDropDownMenu_SetWidth(self, 160, 5)
					</OnLoad>
                </Scripts>
            </Button>					
			
			<!--Reset -->	
			<Button name="CLCDK_CDRPanel_Reset" inherits="UIPanelButtonTemplate"  Text="CLCDK_OPTIONS_RESET">
				<Size><AbsDimension x="120" y="22"/></Size>
				<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="15" y="15" /></Offset></Anchor></Anchors>
				<Scripts>
					<OnClick>CLCDK:SetDefaults()</OnClick>
				</Scripts>
			</Button>  
		</Frames>		
	</Frame>
	
	<Frame name="CLCDK_DTPanel">
		<Scripts>
			<OnLoad>
				self.name = CLCDK_OPTIONS_DT
				self.parent = "CLC DK"
			</OnLoad>
		</Scripts>
	
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="CLCDK_DTPanel_Title" inherits="GameFontNormalLarge" text="CLCDK_ADDONNAME">
					<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel"><Offset><AbsDimension x="15" y="-15" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>			
			
			<Layer level="ARTWORK">
				<FontString name="CLCDK_DTPanel_DOTS_Title" inherits="GameFontHighlight" text="CLCDK_OPTIONS_DT_DOTS">
					<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel" relativePoint="TOPRIGHT"><Offset><AbsDimension x="-200" y="-28" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>	

		<Frames>
			<!--Enable -->	
			<CheckButton name="CLCDK_DTPanel_Enable" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_Title"><Offset><AbsDimension x="0" y="-30"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_Enable_Text:SetText(CLCDK_OPTIONS_DT_ENABLE)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Class Colours -->	
			<CheckButton name="CLCDK_DTPanel_CColours" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_Enable" ><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_CColours_Text:SetText(CLCDK_OPTIONS_DT_CCOLOURS)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Target -->	
			<CheckButton name="CLCDK_DTPanel_Target" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_CColours" ><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_Target_Text:SetText(CLCDK_OPTIONS_DT_TARGET)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Target Colours -->	
			<CheckButton name="CLCDK_DTPanel_TColours" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_Target" ><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_TColours_Text:SetText(CLCDK_OPTIONS_DT_TCOLOURS)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Target Priority -->	
			<CheckButton name="CLCDK_DTPanel_TPriority" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_TColours" ><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_TPriority_Text:SetText(CLCDK_OPTIONS_DT_TPRIORITY)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Grow Down -->	
			<CheckButton name="CLCDK_DTPanel_GrowDown" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_TPriority" ><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_GrowDown_Text:SetText(CLCDK_OPTIONS_DT_GROWDOWN)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Disable CombatLog -->	
			<CheckButton name="CLCDK_DTPanel_CombatLog" inherits="CLCK_CheckButtonTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_GrowDown" ><Offset><AbsDimension x="0" y="-55"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_CombatLog_Text:SetText(CLCDK_OPTIONS_DT_COMBAT)
					</OnLoad>
				</Scripts>
			</CheckButton>	
			
			<!--Update Time-->		
			<EditBox name="CLCDK_DTPanel_Update" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_CombatLog" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="8" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_Update_Text:SetText(CLCDK_OPTIONS_DT_UPDATE)
					</OnLoad>
				</Scripts>				
			</EditBox>
			
			<!-- Dot Option-->
			<Frame name="CLCDK_DTPanel_DOTS" toplevel="true" parent="CLCDK_DTPanel" frameStrata="DIALOG">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_DOTS_Title" ><Offset><AbsDimension x="-5" y="-12"/></Offset></Anchor></Anchors>
				
				<Size><AbsDimension x="175" y="175"/></Size>				
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">					
					<TileSize><AbsValue val="32"/></TileSize><EdgeSize><AbsValue val="16"/></EdgeSize>
				</Backdrop>
				
				<Frames>
					<!--Frost Fever -->	
					<CheckButton name="CLCDK_DTPanel_DOTS_FF" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-5"/></Offset></Anchor></Anchors>
					</CheckButton>
					
					<!--Blood Plague -->	
					<CheckButton name="CLCDK_DTPanel_DOTS_BP" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_DOTS_FF"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>
					
					<!--Death and Decay -->	
					<CheckButton name="CLCDK_DTPanel_DOTS_DD" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_DOTS_BP"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>	
					
					<!-- Spec Option-->
					<CheckButton name="CLCDK_DTPanel_DOTS_Spec" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_DOTS_DD"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>

					<!-- Spec Option2-->
					<CheckButton name="CLCDK_DTPanel_DOTS_Spec2" inherits="CLCK_CheckButtonTemplate">
						<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_DOTS_Spec"><Offset><AbsDimension x="0" y="-35"/></Offset></Anchor></Anchors>
					</CheckButton>					
				</Frames>
			</Frame>
			
			<!--Number -->		
			<EditBox name="CLCDK_DTPanel_NumFrames" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_DOTS" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="8" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_NumFrames_Text:SetText(CLCDK_OPTIONS_DT_NUMFRAMES)
					</OnLoad>
				</Scripts>				
			</EditBox>
			
			<!--Disease -->		
			<EditBox name="CLCDK_DTPanel_Warning" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_NumFrames" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_Warning_Text:SetText(CLCDK_OPTIONS_DT_WARNING)
					</OnLoad>
				</Scripts>				
			</EditBox>
			
			<!--Transparency -->
			<EditBox name="CLCDK_DTPanel_Trans" inherits="CLCK_EditBoxTemplate">
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_Warning" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor></Anchors>
				<Scripts>
					<OnLoad>
						CLCDK_DTPanel_Trans_Text:SetText(CLCDK_OPTIONS_DT_TRANS)
					</OnLoad>
				</Scripts>		
			</EditBox>
			
			<!--Threat-->
			<Button name="CLCDK_DTPanel_DD_Threat" inherits="CLCK_DropDownTemplate">				
				<Anchors><Anchor point="TOPLEFT" relativeTo="CLCDK_DTPanel_Trans" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="-22" y="-20"/></Offset></Anchor></Anchors>
				<Scripts>				
					<OnLoad>
						CLCDK_DTPanel_DD_Threat_Text:SetText(CLCDK_OPTIONS_DT_THREAT)
						UIDropDownMenu_SetWidth(self, 140, 5)
					</OnLoad>
                </Scripts>
            </Button>	


			<!--Reset -->	
			<Button name="CLCDK_FramePanel_Reset" inherits="UIPanelButtonTemplate"  Text="CLCDK_OPTIONS_RESET">
				<Size><AbsDimension x="120" y="22"/></Size>
				<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="15" y="15" /></Offset></Anchor></Anchors>
				<Scripts>
					<OnClick>CLCDK:SetDefaults()</OnClick>
				</Scripts>
			</Button>   

			<!--Location Reset -->	
			<Button name="CLCDK_FramePanel_LocationReset" inherits="UIPanelButtonTemplate"  Text="CLCDK_OPTIONS_RESETLOCATION">
				<Size><AbsDimension x="120" y="22"/></Size>
				<Anchors><Anchor point="LEFT" relativeTo="CLCDK_FramePanel_Reset" relativePoint="RIGHT"><Offset><AbsDimension x="5" y="0" /></Offset></Anchor></Anchors>
				<Scripts>
					<OnClick>CLCDK:SetLocationDefault()</OnClick>
				</Scripts>
			</Button> 			
		</Frames>		
	</Frame>
	
	<Frame name="CLCDK_ABOUTPanel">
		<Scripts>
			<OnLoad>
				self.name = CLCDK_ABOUT
				self.parent = "CLC DK"	
			</OnLoad>
		</Scripts>
	
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="CLCDK_CDRPanel_DD_Title" inherits="GameFontNormalLarge" text="CLCDK_ADDONNAME">
					<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-15" /></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
			
			<Layer level="ARTWORK">
				<FontString text="CLCDK_ABOUT_AUTHOR" inherits="GameFontDisableSmall" justifyH="LEFT">
					<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="15" y="25"/></Offset></Anchor></Anchors>
				</FontString>
				<FontString text="CLCDK_ABOUT_VERSION" inherits="GameFontDisableSmall" justifyH="LEFT">
					<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="15" y="15"/></Offset></Anchor></Anchors>
				</FontString>
			</Layer>
		</Layers>	
		
		<Frames>
			<SimpleHTML name="CLCDK_ABOUTHTML">
				<Size><AbsDimension x="420" y="120" /></Size>		
				<Anchors>
					<Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-70"/></Offset></Anchor>
				</Anchors>
				<FontString inherits="GameFontHighlightSmall"/>
				<FontStringHeader1 inherits="GameFontNormal"/>
			</SimpleHTML>
		</Frames>
	</Frame>
</Ui>
